<template>
    <div class="section-container">
        <div class="title-section">
            <span class="title">Zadara Edge Cloud Locations</span>
        </div>
        <div class="img-section">
            <img src="@/assets/imgs/map_mobile.png" class="map-img" />
        </div>
        <div class="num-section">
            <div class="num-item">
                <span class="num"><RollNum :targetNumber="500"></RollNum>+</span>
                <span class="title">Clouds</span>
            </div>
            <div class="num-item">
                <span class="num"><RollNum1 :targetNumber="24"></RollNum1>+</span>
                <span class="title">Countries</span>
            </div>
            <div class="num-item">
                <span class="num"><RollNum2 :targetNumber="250"></RollNum2>+</span>
                <span class="title">Partners</span>
            </div>
        </div>
    </div>
</template>

<script setup>
import RollNum from '../rollNumber'
import RollNum1 from '../rollNumber'
import RollNum2 from '../rollNumber'
</script>

<style lang="scss" scoped>
.section-container {
    padding-bottom: 40px;

    .title-section {
        text-align: center;
        margin-top: 80px;

        .title {
            font-size: 40px;
            font-weight: 600;
            color: #000;
            font-family: 'MouldyCheeseRegular';
        }
    }

    .img-section {
        margin-top: 20px;

        .map-img {
            width: 100%;
            height: auto;
        }
    }

    .num-section {

        .num-item {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            margin-top: 20px;

            .num {
                color: #1E96FC;
                font-size: 70px;
                font-weight: bolder;
                display: flex;
            }

            .title {
                font-size: 17px;
            }
        }
    }

}
</style>
